{% extends "layout.html" %}

{% block title %}Dumpcatcher: Product: {{ product.name }}{% endblock title %}
{% block main %}
  <h1> {{ product.name }}</h1>

  <h2>Crashes!</h2>
  <table border=1>
	<tr>
	  <td>date</td>
	  <td>version</td>
	  <td>client</td>
	  <td>tag</td>
	  <td>severity</td>
	  <td>short</td>
	  <td>long</td>
	</tr>

	{% for crash in crashes %}
	<tr>
	  <td>{{ crash.date|escape }}</td>
	  <td>{{ crash.version|escape }}</td>
	  <td>{{ crash.client|escape }}</td>
	  <td>{{ crash.tag|escape }}</td>
	  <td>{{ crash.severity|escape }}</td>
	  <td><pre>{{ crash.short|escape }}</pre></td>
	  <td><pre>{{ crash.long|escape }}</pre></td>
	</tr>
	{% endfor %}
  </table>

  {% if next %}
  <a href="?next={{ next }}">Next</a>
  {% endif %}

{% endblock main %}

{% block sidebar_content %}
{% endblock sidebar_content %}

{% block bottom_block %}
{% endblock bottom_block %}
